package com.alibaba.entity;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author: zhuangzhiwen
 * @Date: 2021/8/17
 */

@ComponentScan("com.alibaba")
public class Config {

    @Bean
    public User user(){
        return new User();
    }


    @Bean
    public User user2(){
        return new User();
    }

}
